home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
game
/
patch
/
godshd.lha
/
Gods
/
Install-Gods
< prev
next >
Wrap
Text File
|
1997-01-11
|
1KB
|
66 lines
(set #CI_unit 0)
(set #CI_drive ("DF%ld:" #CI_unit))
;----------------------------
(set @default-dest
(askdir
(prompt ("Where should %s installed ?\nA drawer \"%s\" will automatically created." @app-name @app-name))
(help @askdir-help)
(default @default-dest)
(disk)
)
)
(set #dest (tackon @default-dest @app-name))
(makedir #dest
(help @makedir-help)
(infos)
)
;----------------------------
(copyfiles
(help @copyfiles-help)
(source "GodsHD")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "GodsHD.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "asshd.readme.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "asshd.readme")
(dest #dest)
)
(message ("\nInsert %s disk 1 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("disk2file %ld \"%s/Gods.disk1\" >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"disk2file\" must be in your PATH !")
)
(message ("\nInsert %s disk 2 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("disk2file %ld \"%s/Gods.disk2\" >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"rob2file\" must be in your PATH !")
)
(exit)